package com.fumihiko.modules.wsbj.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fumihiko.modules.wsbj.entity.UpProBasicEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fumihiko.modules.wsbj.entity.UpProBasicProcessEntity;
import com.fumihiko.modules.wsbj.entity.UpProProcessEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 办件基本信息
 *
 * @author hanwenpeng
 * @email devilzwy@gmail.com
 * @date 2022-01-20 09:34:06
 */
@Mapper
public interface UpProBasicDao extends BaseMapper<UpProBasicEntity> {

    IPage<UpProBasicProcessEntity> selectBasicPage(Page<UpProBasicProcessEntity> page,@Param(Constants.WRAPPER) QueryWrapper<UpProBasicProcessEntity> queryWrapper);

    UpProBasicProcessEntity getValueById(String pkId);

    List<UpProProcessEntity> getList(@Param(Constants.WRAPPER) QueryWrapper<UpProBasicProcessEntity> queryWrapper);
}
